/*
 * FileName: JConsoleTest.java
 * Author:   zzw
 * Date:     2018年12月03日
 * Description:
 */
package com.zzw.hotspot;

import sun.tools.jconsole.ProxyClient;

import java.io.IOException;
import java.lang.reflect.UndeclaredThrowableException;

/**
 * 〈〉<br>
 * 〈〉
 *
 * @author zzw
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本]（可选）
 */
public class JConsoleTest {

    public static void main(String[] args) {
        /*ProxyClient client = new ProxyClient();
        ProxyClient proxyClient = client.getProxyClient();
        try {
            proxyClient.getMemoryMXBean().gc();
        } catch (UndeclaredThrowableException e) {
            proxyClient.markAsDead();
        } catch (IOException e) {
        }*/
    }
}
